<?
require "cAutorizacion.php";

$TITLE = 'Especificar Montos - PASANTIAS EMPRESARIALES';
include_once("vHeader.php");
include "cEspecificarMontosPre.php";
?>

<script type="text/javascript" language="javascript" src="cVerifEspecificarMontos.js"></script>
<script type="text/javascript" language="javascript" src="cCampoNumerico.js"></script>


<table width="502" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td valign="top" class="parrafo" align="center">
            <span class="titular_negro"><br />
                ESTABLECER MONTO PARA EL BONO DE TUTORES (Bs.)</span><br />
            <br />

            <form name="datos" action="cEspecificarMontosPost.php" method="post" enctype="multipart/form-data">

                <table width="100%" border="1" cellpadding="5" cellspacing="0" class="parrafo">
                    <tr>
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td><p align="center"><b>PASANT&Iacute;A CORTA</b></p></td>
                        <td><p align="center"><b>PASANT&Iacute;A LARGA</b></p></td>
                    </tr>
                </table>
                <table width="100%" align="center" border="1" cellpadding="5" cellspacing="0" class="parrafo">

                    <tr>
                        <td valign="top" class="parrafo" align="center"><b>Categor&iacute;a</b></td>
                        <? for ($i = 0; $i < $_SESSION[numZona]; $i++) { ?>

                            <td><b><?= $_SESSION[zona][$i][nombre] ?></b></td>

                        <? } ?>

                        <? for ($i = 0; $i < $_SESSION[numZona]; $i++) { ?>

                            <td><b><?= $_SESSION[zona][$i][nombre] ?></b></td>

                        <? } ?>                        
                    </tr>
                    <input type="hidden" name="numCategoria" id="numCategoria" value="<?= ($_SESSION[numCategoria] - 1) ?>"></input>

                    <? for ($i = 1; $i < ($_SESSION[numCategoria] - 1); $i++) { ?>

                        <tr>
                            <td><b><?= $_SESSION[categoria][$i][nombre] ?></b></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i ?>" id="monto<?= $i ?>" size="5" value="<?= $_SESSION[bono][$i][monto] ?>"></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i + 5 ?>"  id="monto<?= $i + 5 ?>" size="5" value="<?= $_SESSION[bono][$i + 5][monto] ?>"></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i + 10 ?>" id="monto<?= $i + 10 ?>" size="5" value="<?= $_SESSION[bono][$i + 10][monto] ?>"></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i + 15 ?>" id="monto<?= $i + 15 ?>" size="5" value="<?= $_SESSION[bono][$i + 15][monto] ?>"></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i + 20 ?>" id="monto<?= $i + 20 ?>" size="5" value="<?= $_SESSION[bono][$i + 20][monto] ?>"></td>
                            <td><input type="text" onkeypress="return esMontoNumerico(event);" name="monto<?= $i + 25 ?>" id="monto<?= $i + 25 ?>" size="5" value="<?= $_SESSION[bono][$i + 25][monto] ?>"></td>

                        </tr>
                    <? } ?>

                </table>
                <br></br>
              <!--  <input value="Modificar" type="submit" onsubmit="javascript: verificar()"> -->
                <a href='javascript: verificar()'><?= mostrarImagen('enviar'); ?></a>
            </form>
        </td>
    </tr>
</table>


<?php include_once('vFooter.php'); ?>